package com.mutual.assistance.task.model.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

@Data
@ApiModel(value="获取发布任务信息", description="获取发布任务信息")
public class TaskPublishDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "唯一标识")
    private Long id;

    @ApiModelProperty(value = "任务标题")
    private String title;

    @ApiModelProperty(value = "任务描述url地址")
    private String pic;

    @ApiModelProperty(value = "任务内容")
    private String content;

    @ApiModelProperty(value = "任务类型{二手交易、互帮互助、学习辅导}")
    private String type;

    @ApiModelProperty(value = "任务状态")
    private String status;

    @ApiModelProperty(value = "任务标签{日用品、二手书、商品代取、学科辅助}")
    private String tags;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "填写邮箱、qq、电话等")
    private String contactInformation;

    @ApiModelProperty(value = "联系地址")
    private String address;

    @ApiModelProperty(value = "任务积分")
    private Integer credit;

    @ApiModelProperty(value = "发布者相关信息")
    private UserDTO publisher;

    @ApiModelProperty(value = "发布时间(创建时间)")
    private LocalDateTime publishTime;

    @ApiModelProperty(value = "任务开始时间")
    private LocalDateTime taskStartTime;

    @ApiModelProperty(value = "任务结束时间")
    private LocalDateTime taskEndTime;

    @ApiModelProperty(value = "用户评论")
    private List<CommentDTO> commentDTOS;
}
